package com.yhq.spring.event;

import lombok.Data;
import org.springframework.context.ApplicationEvent;

/**
 * @author hqyin
 * @date 2023/3/14 10:03 上午
 */
public class EventByExtends extends ApplicationEvent {
    private String id;
    public EventByExtends(String id) {
        super(id);
        this.id =id;
    }

    public String getId() {
        return id;
    }
}
